import React from "react"
import { createStore } from 'redux';
import { Provider } from "react-redux";
import { Card } from 'antd';
import redux from "./reactx03/reduxs"

import ReactX0301 from "./reactx03/reactx03-01"


class ReactX03 extends React.Component {
    constructor(props) {
        super(props);
        this.store = createStore(redux)  //连接redux
    }
    render() {
        return (
            <Provider store={this.store}>
                <Card title="修改数据--提出常量" bordered={false}>
                    <ReactX0301 />
                 
                </Card>
            </Provider>
        )
    }
}
export default ReactX03